﻿{% extends "layout.html" %}
{% block title %}
<title>小试牛刀</title>
{% endblock %}

{% block style %}

{% endblock %}

{% block li %}
    <li><a href="content.html">内容</a></li>
    <li>内容管理</li>
{% endblock %}

{% block content %}


    <div class="admin">
				<div class="panel admin-panel">
					<div class="panel-head"><strong>考试内容</strong></div>

					<table class="table table-hover">
                        {% for item in exam_result%}
						<tr>
							<th colspan="5">{{ forloop.counter }}. {{item.title }}</th>
						</tr>
						<tr>
                            <td colspan="5">
                                <div class="radio">
                                    <label>
                                        A:  {{item.A }}
                                    </label>
                                </div>
                            </td>
						</tr>
						<tr>
                            <td colspan="5">
                                <div class="radio">
                                    <label>
                                        B:  {{item.B }}
                                    </label>
                                </div>
                            </td>
						</tr>
                        <tr>
                            <td colspan="5">
                                <div class="radio">
                                    <label>
                                        C:  {{item.C}}
                                    </label>
                                </div>
                            </td>
						</tr>
                         <tr>
                            <td colspan="5">
                                 <div class="radio">
                                     <label>
                                         D:  {{item.D }}
                                     </label>
                                 </div>
                            </td>
						</tr>
                        <tr>
                            <td colspan="5">
                                 <div class="radio">
                                     <label>
                                         <b>正确答案：{{ item.correctSelect }}</b>
                                           我的答案：{{ item.stuSelect }}
                                     </label>
                                 </div>
                            </td>
						</tr>
                        {% endfor %}
					</table>
					<div class="panel-foot text-center">
					</div>
				</div>
			<br />
			<p class="text-right text-gray"><a class="text-gray" target="_blank" href="http://www.pintuer.com"></a></p>
		</div>

{% endblock %}

{% block js %}
    <script>
        $(function () {
            $('#test').addClass('active')
            $('#home').removeClass('active')
        });
    </script>
{% endblock %}
</html>